package co.edu.javeriana.aes.patrones.monopolio.cliente;

import javax.swing.JPanel;

/**
 *
 * @author gersua
 */
public abstract class AbstractPanel extends JPanel {

    private MonopolyClient monopolyClient;
    private ViewHandler viewHandler;

    public AbstractPanel(MonopolyClient client, ViewHandler viewHandler) {
        this.monopolyClient = client;
        this.viewHandler = viewHandler;
    }

    public MonopolyClient getMonopolyClient() {
        return monopolyClient;
    }

    public ViewHandler getViewHandler() {
        return viewHandler;
    }
}
